package tech.swh.ssm.entity;

import java.math.BigInteger;
import java.sql.Timestamp;

public class Category {

	private BigInteger id;
	private String categoryCode;		//分类编码
	private String categoryName;		//分类名称
	private BigInteger parentId;		//父级节点id
	private BigInteger createdBy;		//创建者（来源于backend_user用户表的用户id）
	private Timestamp creationTime;		//创建时间
	private BigInteger modifyBy;		//更新者（来源于backend_user用户表的用户id）
	private Timestamp modifyDate;		//最新更新时间
	
	@Override
	public String toString() {
		return "Category [id=" + id + ", categoryCode=" + categoryCode + ", categoryName=" + categoryName
				+ ", parentId=" + parentId + ", createdBy=" + createdBy + ", creationTime=" + creationTime
				+ ", modifyBy=" + modifyBy + ", modifyDate=" + modifyDate + "]";
	}
	public Category() {
		super();
	}
	public Category(BigInteger id, String categoryCode, String categoryName, BigInteger parentId, BigInteger createdBy,
			Timestamp creationTime, BigInteger modifyBy, Timestamp modifyDate) {
		super();
		this.id = id;
		this.categoryCode = categoryCode;
		this.categoryName = categoryName;
		this.parentId = parentId;
		this.createdBy = createdBy;
		this.creationTime = creationTime;
		this.modifyBy = modifyBy;
		this.modifyDate = modifyDate;
	}
	public BigInteger getId() {
		return id;
	}
	public void setId(BigInteger id) {
		this.id = id;
	}
	public String getCategoryCode() {
		return categoryCode;
	}
	public void setCategoryCode(String categoryCode) {
		this.categoryCode = categoryCode;
	}
	public String getCategoryName() {
		return categoryName;
	}
	public void setCategoryName(String categoryName) {
		this.categoryName = categoryName;
	}
	public BigInteger getParentId() {
		return parentId;
	}
	public void setParentId(BigInteger parentId) {
		this.parentId = parentId;
	}
	public BigInteger getCreatedBy() {
		return createdBy;
	}
	public void setCreatedBy(BigInteger createdBy) {
		this.createdBy = createdBy;
	}
	public Timestamp getCreationTime() {
		return creationTime;
	}
	public void setCreationTime(Timestamp creationTime) {
		this.creationTime = creationTime;
	}
	public BigInteger getModifyBy() {
		return modifyBy;
	}
	public void setModifyBy(BigInteger modifyBy) {
		this.modifyBy = modifyBy;
	}
	public Timestamp getModifyDate() {
		return modifyDate;
	}
	public void setModifyDate(Timestamp modifyDate) {
		this.modifyDate = modifyDate;
	}
	
	
}
